package com.lzw.bluetoothpractice.Activitys;

import android.os.Bundle;

import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import com.lzw.bluetoothpractice.Adapters.UserCommentListAdapter;
import com.lzw.bluetoothpractice.R;

public class UserCommentActivity extends BaseActivity {
    UserCommentListAdapter userCommentListAdapter;
    RecyclerView rvUserCommentList;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_comment_list);
        InitView();
    }
    private  void InitView(){
        InitNavBar(true,"互动消息",false);
        rvUserCommentList=fd(R.id.rvUserCommentList);
        rvUserCommentList.setLayoutManager(new LinearLayoutManager(this));
        rvUserCommentList.addItemDecoration(new DividerItemDecoration(this,DividerItemDecoration.VERTICAL));
        userCommentListAdapter=new UserCommentListAdapter(UserCommentActivity.this);
        rvUserCommentList.setAdapter(userCommentListAdapter);

    }
}
